
package com.bei_en.teacher.management.persistence.dao.system;

import java.util.List;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;
import com.bei_en.teacher.management.model.system.bean.SystemLogs;
import com.bei_en.teacher.management.model.system.condition.SystemLogsCondition;
import com.bei_en.teacher.management.persistence.dao.BaseDao;

/**
 *
 * @author Longqs
 * @date 2016-6-15 11:43:10
 */
@Repository
public interface SystemLogsDao extends BaseDao<SystemLogs, Integer> {

    Integer findNumberByCondition(SystemLogsCondition vo);

    List<SystemLogs> findPageBreakByCondition(SystemLogsCondition vo, RowBounds rb);

    /**
     * 返回上次插入的id，用于merge
     * @return
     */
    Integer findLastInsertedId();
}
